from tkinter import*

root=Tk()

# w=Spinbox(root,from_=0,to=10)
w=Spinbox(root,values=('C','C++','JAVA'))
w.pack()


mainloop()